<?php
//--Acan帮助

class Con_help extends Acan{
	
	public $defaultAct='class';
	function __construct($ainfo=null){
		parent::__construct($ainfo=null);
	}
	
	function Act_class(){
		$files = Afunc_file()->ascanfileinfo(A_ROOT.'/acan/class/');
		foreach($files as $key=>$val){
			include_once($val['path']);
			$act = array_diff(get_class_methods($val['name']),get_class_methods('Acan'));
			$read = get_class_vars($val['name']);
			$modname = str_replace('Con_','',$val['name']);
			foreach($act as $k=>$v){
				$list[$modname]['title']=$read['Conread'];
				$list[$modname]['methods'][$v]['title'] = $read['Actread'][$v];
			}
		}
		print_r($list);
		include $this->Atpl();
	}
	function Act_fun(){
		include $this->Atpl();
	}
}

?>